import { _decorator, Component, Node } from 'cc';
import EventManager, { EVENT_ENUM } from './EventManager';
const { ccclass, property } = _decorator;

@ccclass('MenuManager')
export class MenuManager extends Component {
    handleUndo() {
        EventManager.emit(EVENT_ENUM.UNDO);
    }

  handleDisturb() {
        EventManager.emit(EVENT_ENUM.DISTURB);
    }
}


